import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { NavBar, Form, Field, Button, Toast, Tabbar, TabbarItem, Icon, Grid, GridItem, Swipe, SwipeItem, Search, Image as VanImage, Lazyload, List, IndexBar, IndexAnchor, Cell, CellGroup, Popup, Picker, Uploader, Checkbox, CheckboxGroup, Sticky, Col, Row } from 'vant'

Vue.use(Col)
Vue.use(Row)
Vue.use(Sticky)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Uploader)
Vue.use(Picker)
Vue.use(Popup)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(List)
Vue.use(Lazyload, {
  lazyComponent: true
})
Vue.use(VanImage)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Toast)
Vue.use(Button)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
